package com.zhiyou.model;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Share implements Serializable{
	/**
	 * 朋友圈
	 */
	private static final long serialVersionUID = 1L;
	private Integer share_id;//朋友圈id
	private String share_content;//朋友圈内容
	private Integer teacher_id;//发布人id，老师id
	private String teacher_name;//发布人姓名
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Timestamp share_time;//发布时间
	private Integer like_num;//点赞数量
	private List<ShareImg> shareImgs;//说说的图片
	private List<Like> likes;//说说的图片
}
